﻿@model CMSMVC4.Areas.Admin.Models.LogInModel
@{
    ViewBag.Title = "Login";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<div id="login_page">
    <!-- Login page -->
    <div id="login" style="margin-top: 500px">
        <div class="span5" style="width: 100%">
            @* ReSharper disable UnknownCssClass *@
            <div class="box paint">
                @* ReSharper restore UnknownCssClass *@
                <div class="title">
                    <h4><span>Login form</span> </h4>
                </div>
                <div class="content ">
                    @ViewBag.mess
                    @Html.ValidationSummary()
                    @using (Html.BeginForm("Login", "Account", FormMethod.Post, new { @class = "bs-docs-example form-horizontal", area = "Admin" }))
                    { 
                        <div class="control-group row-fluid">
                            <label class="control-label span4" for="inputPassword">Username</label>
                            <div class="controls span5 input-append" style="width: 53.2%">
                                @Html.TextBoxFor(x => x.Account, new { @class = "control-label span4", placeholder = "Username", id = "inputUsername", style = "width:180px;text-align:left" })
                                <span class="add-on"><i class="icon-user"></i></span>
                            </div>
                        </div>
                        <div class="control-group row-fluid">
                            <label class="control-label span4" for="inputPassword">Password</label>
                            <div class="controls span5 input-append" style="width: 53.2%">
                                @Html.PasswordFor(x => x.Password, new { @class = "control-label span4", placeholder = "Username", id = "inputUsername", style = "width:180px;text-align:left" })
                                <span class="add-on"><i class="icon-lock"></i></span>
                            </div>
                        </div>
                        <!--  <div class="control-group row-fluid">
                                  <div class="controls span5 offset4">
                                      <label class="checkbox">
                                          <input type="checkbox"> Remember me
                                      </label>
                                  </div>
                              </div> -->
                        <div class="control-group row-fluid">
                            <div class="controls span5 offset4">
                                <button type="submit" class="btn btn-primary">Sign in</button>
                            </div>
                        </div>
                    }
                </div>
            </div>
            <!-- End .box -->
        </div>
    </div>
    <!-- End #login -->
    <!-- <img src="img/ajax-loader.gif"> -->
</div>
